package org.zuel.boot.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ikun
 * @since 2025-06-30
 */
@Data
    @EqualsAndHashCode(callSuper = false)
@TableName("sys_major")
@ApiModel(value="SysMajor", description="")
    public class SysMajor implements Serializable {

    private static final long serialVersionUID = 1L;


                @TableField("id")

    
    
    
private Integer id;

                @TableField("xl")

    
    
    
private Integer xl;

                @TableField("name")

    
    
    
private String name;

                @TableField("code")

    
    
    
private String code;

                @TableField("college_code")

    
    
    
private String collegeCode;

                @TableField("create_time")

    
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    
private Date createTime;

                @TableField("update_time")

    
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    
private Date updateTime;

                @TableField("deleted")

    
    
        @TableLogic

private Integer deleted;




}